package com.xintai.hetong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xintai.common.annotation.Excel;
import com.xintai.common.core.domain.BaseEntity;

/**
 * 合同上传文件对象 erp_hetong_file
 *
 * @author xintai
 * @date 2021-02-20
 */
public class ErpHetongFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long htId;

    /** 合同主键 */
    @Excel(name = "合同主键")
    private Long htParentid;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String htFilename;

    /** 文件存放路径 */
    @Excel(name = "文件存放路径")
    private String htFilepath;

    public void setHtId(Long htId)
    {
        this.htId = htId;
    }

    public Long getHtId()
    {
        return htId;
    }
    public void setHtParentid(Long htParentid)
    {
        this.htParentid = htParentid;
    }

    public Long getHtParentid()
    {
        return htParentid;
    }
    public void setHtFilename(String htFilename)
    {
        this.htFilename = htFilename;
    }

    public String getHtFilename()
    {
        return htFilename;
    }
    public void setHtFilepath(String htFilepath)
    {
        this.htFilepath = htFilepath;
    }

    public String getHtFilepath()
    {
        return htFilepath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("htId", getHtId())
                .append("htParentid", getHtParentid())
                .append("htFilename", getHtFilename())
                .append("htFilepath", getHtFilepath())
                .toString();
    }
}